.MaterialsReplaceDialog-box :deep(.t-dialog) {
  width: 960px;
  max-height: 83vh;
}
.MaterialsReplaceDialog-box :deep(.t-dialog__header-content) {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 28px;
}
.MaterialsReplaceDialog-box :deep(.t-dialog__close) {
  width: 24px;
  height: 24px;
}
.MaterialsReplaceDialog-box :deep(.t-dialog__header) {
  box-shadow: none;
}
.MaterialsReplaceDialog-box :deep(.t-dialog__footer) {
  display: none;
}
.MaterialsReplaceDialog-box :deep(.t-dialog__body) {
  padding: 0px 24px;
  height: calc(100% - 60px);
}
.form-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.form-box-top {
  width: 100%;
  flex: 1;
  max-height: 50vh;
  overflow: auto;
  scrollbar-width: none;
}
.form-box-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  height: 84px;
}
.form-box-bottom :deep(.t-button--theme-default) {
  width: 68px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #e62b17;
  margin-right: 12px;
}
.form-box-bottom :deep(.t-button--theme-primary) {
  width: 184px;
  height: 40px;
  border: 1px solid #e62b17;
}
.upload-parent {
  display: flex;
  align-items: flex-end;
}
.tips {
  font-family: PingFangSC, PingFang SC;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.38);
  line-height: 22px;
  text-align: left;
  font-style: normal;
  margin-top: 8px;
}
.img-boxs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 184px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px dashed #ebe4e3;
}
.img-boxs .upload-boxs-item {
  width: 180px;
  height: 180px;
  border-radius: 4px;
}
.img-boxs-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  z-index: 60;
}
.img-boxs-icon-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  margin-right: 8px;
  margin-top: 8px;
}
.img-boxs-icon-item .doorIcon {
  font-size: 16px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.img-boxs-icon-item:hover {
  box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.05), 0px 4px 5px 0px rgba(0, 0, 0, 0.08), 0px 2px 4px -1px rgba(0, 0, 0, 0.12);
  border: 1px solid #f0f0f0;
  background: #ffffff;
}
.img-boxs-icon-item:hover span {
  color: rgba(0, 0, 0, 0.59);
}
.img-boxs-icon-item:hover .doorIcon {
  color: rgba(0, 0, 0, 0.59);
}
.t-image {
  background: #fafafa;
}
.from-title-box {
  width: 100%;
  margin-bottom: 8px;
}
.from-title-box .from-title-box-name {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 24px;
}
.from-title-box-sb {
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.from-title-box-end {
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}
.ai-icon-box {
  position: relative;
  cursor: pointer;
  margin-left: 8px;
  width: 50px;
  height: 24px;
}
.ai-icon-box img {
  width: 50px;
  height: 24px;
}
.ai-icon-box-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 24px;
  background: #ffffff;
  border-radius: 4px;
  opacity: 0;
  z-index: 6;
}
.ai-icon-box:hover .ai-icon-box-shadow {
  opacity: 0.2;
}
:deep(.t-textarea__inner) {
  font-size: 16px;
  line-height: 24px;
}
:deep(.t-textarea__inner::placeholder) {
  font-size: 16px;
  line-height: 24px;
}
.upload-box {
  width: 176px;
  height: 176px;
  margin-right: 20px;
}
.upload-box img {
  width: 176px;
  height: 176px;
}
.from-title-box {
  width: calc(100%);
  display: flex;
  justify-content: space-between;
}
.from-title-box-sb {
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.from-title-box-end {
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 12px 7px 0;
  color: rgba(0, 0, 0, 0.38);
  text-align: right;
  font-family: 'PingFang SC';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  /* 157.143% */
}
.ai-icon-box {
  position: relative;
  cursor: pointer;
  margin-left: 8px;
  width: 50px;
  height: 24px;
}
.ai-icon-box img {
  width: 50px;
  height: 24px;
}
.ai-icon-box-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 24px;
  background: #ffffff;
  border-radius: 4px;
  opacity: 0;
  z-index: 6;
}
.ai-icon-box:hover .ai-icon-box-shadow {
  opacity: 0.2;
}
.t-row {
  margin-top: 0px;
}
.t-col {
  margin-bottom: 12px;
}
:deep(.t-input) {
  height: 40px;
}
.item-flex {
  display: flex;
  align-items: center;
  width: 100%;
}
:deep(.t-textarea__info_wrapper_align) {
  margin-top: -30px;
  padding-right: 12px;
}
:deep(.t-textarea__inner) {
  padding: 8px 12px;
}
.upload-boxs {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  background: #fafafa;
  border-radius: 4px;
  border: 1px dashed #ebe4e3;
}
.upload-boxs .doorIcon {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.38);
}
.upload-boxs span {
  font-family: PingFangSC, PingFang SC;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.38);
  line-height: 22px;
  text-align: center;
  margin-top: 8px;
}
.upload-boxs:hover {
  border-color: #e62b17;
}
.description-box {
  width: 100%;
  margin-bottom: 8px;
}
.ai-drawer :deep(.t-drawer__header) {
  display: none;
}
.ai-drawer :deep(.t-drawer__footer) {
  display: none;
}
.ai-drawer :deep(.t-drawer__content-wrapper) {
  width: 480px !important;
  background: linear-gradient(315deg, #f5edff 0%, #f0f5ff 100%);
}
.ai-drawer :deep(.t-drawer__body) {
  padding: 16px 20px;
}
